/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 * No deletion without permission, or be held responsible to law.
 */
package com.jeesite.modules.vehicle.dao;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.vehicle.entity.CarApi;

import java.util.List;
import java.util.Map;

/**
 * 测试数据DAO接口
 * @author ThinkGem
 * @version 2018-04-22
 */
@MyBatisDao
public interface CarApiDao extends CrudDao<CarApi> {
	// 查询车分类
	List<CarApi> findCarType(CarApi carApi);
	// 查询车详情
	List<CarApi> getCarDetail(String carId);
	// 查询车品牌
	List<CarApi> findCarBrand(Integer pageSize);
	// 删除图片
    int deleteImage(CarApi carApi);
	// 插入图片
	int insertImage(Map map);
}